package cn.itcast.day01.demo;

public class text01 {

    public static void main(String[] args) {
        /*for (int i = 0; i < 5; i++) {
            for (int j = 0; j < 20; j++) {
                System.out.print("*");
            }
            System.out.println();
        }*/

        student stu1 = new student();
        System.out.println("=========");
        student stu2 = new student("赵丽颖",20);
        System.out.println("姓名：" + stu2.getName() + "年龄：" + stu2.getAge());
        stu2.setAge(21);
        System.out.println(stu2.getAge());
    }
}
